﻿<ListBox x:Class="ICSharpCode.XamlDesigner.ErrorListView"
         xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation"
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:Services="clr-namespace:ICSharpCode.WpfDesign.Designer.Services;assembly=ICSharpCode.WpfDesign.Designer">
    <Control.Resources>
        <DataTemplate DataType="{x:Type Services:XamlError}">
            <StackPanel Orientation="Horizontal">
                <Image Source="Images/Error.png"
                       Stretch="None"
                       Margin="2"/>
                <TextBlock Text="{Binding Message}" 
                           VerticalAlignment="Center"/>
            </StackPanel>
        </DataTemplate>
    </Control.Resources>
</ListBox>
